import axios from "@/utils/axios";
export default{
    getCompetes: (data) => axios.post("/Competes/selectAllByType",data),
    delCompetes:(id)=>axios.delete(`/Competes/deleteCompetes/${id}`),
    updateCompetes:(data)=>axios.put("/Competes/updateCompetes",data),
    addCompetes:(data)=>axios.post('/Competes/addCompetesBack',data)
}